<template>
  <Child :level="2">
    <template #header>
      <p>头部</p>
    </template>
    <p>主体1</p>
    <template v-slot:footer>
      <p>尾部</p>
    </template>
    <p>主体2</p>
  </Child>
</template>
<script>
import Child from "./Child.vue";
export default {
  components: {
    Child,
  },
};
</script>
